package com.xpec.c4.service.group;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.xpec.c4.service.group.transportlayer.TransportManager;
import com.xpec.c4.service.module.ModuleServer;

/**
 * 
 * 
 * @author lipeilin
 * @2011-2-23 下午03:55:41
 * 
 */
public class ServerGroup {

	@SuppressWarnings("unused")
	private static final Log log = LogFactory.getLog(ServerGroup.class);

	/**
	 * 传送管理
	 */
	private static TransportManager transportManagers;

	/**
	 * 
	 */
	private ServerGroup() {
	}

	public static final TransportManager getTransportManager() {
		if (transportManagers == null) {
			transportManagers = new TransportManager(ModuleServer.getInstance());
		}
		return transportManagers;
	}

}
